Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 12 - Draw Context Objects / Draw Context Objects Reference
Draw Context Objects Routines / Managing Macintosh Draw Contexts


Q3MacDrawContext_SetGXViewPort

You can use the Q3MacDrawContext_SetGXViewPort function to set the QuickDraw GX view port associated with a Macintosh draw context.

TQ3Status Q3MacDrawContext_SetGXViewPort (
TQ3DrawContextObject drawContext, 
const gxViewPort viewPort);
drawContext
A Macintosh draw context object.
viewPort
The QuickDraw GX view port to be associated with the specified draw context.
DESCRIPTION
The Q3MacDrawContext_SetGXViewPort function sets the QuickDraw GX view port associated with the draw context specified by the drawContext parameter to the view port specified by the viewPort parameter. The two-dimensional graphics library associated with the specified draw context must be kQ3Mac2DLibraryQuickDrawGX.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996